﻿using Sunny.UI;
using System;
using System.ComponentModel;

namespace CoreShop.App
{
    public partial class UIFormTitle : UIUserControl
    {
        public UIFormTitle()
        {
            InitializeComponent();
        }

        [Browsable(false)]
        public new string Text
        {
            set
            {
                pnlTitle.Text = value;
            }
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            this.ParentForm.Close();
        }
    }
}
